package Com.amit.Java_New_Feature;

public class Lab5 
{
public static void display(String ...agrs)
{
	System.out.println("Display method is invoked");
	for(String i:agrs)
	{
		System.out.println(i);
	}
}
	
	public static void main(String[] args) {
		
		
		display();
		display("amit");
		display("my","name","is","khan");
		

	}

}
